<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>设置区域经理</h2>
    </div>
    <div class="item">
        <label class="item-label">用户名</label>
        <div class="controls">
            <input type="text" class="text input-large" name="nickname" value="{$data.nickname}" readOnly="true" >
        </div>
    </div>
    <form action="" method="post" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">电话<span class="check-tips" style="color: #ff0000">（如果不是区域经理账户以下内容请不要填写）</span></label>
            <div class="controls">
                <input type="text" class="text input-large" name="tel" value="" id="tel">
            </div>
        </div>
        <input type="hidden" value="{$data.uid}" name="uid" id="uid"/>
        <input type="hidden" value="" name="area" id="area"/>
        <label class="item-label">区域</label>
        {:hook('J_China_City')}
        <br/>
        <br/>
        <br/>
        <div class="form-item">
            <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        $('#J_district').change(function(){
            var did_g=$(this).children('option:selected').attr('data');
            $('#area').val(did_g);
        });
        highlight_subnav('{:U('User/index')}');
    </script>
</block>
